package com.lxy.user.domain.dto;


import com.lxy.user.enums.Permission;
import com.lxy.user.enums.UserStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "注册表单实体")
public class RegistrationDTO {
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户名")
    private String password;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "验证码")
    private Integer code;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "区域")
    private String town;

    @ApiModelProperty(value = "用户权限")
    private Permission permission;

    //使用状态（1正常，0冻结）
    @ApiModelProperty(value = "使用状态（1正常，0冻结）")
    private UserStatus status;



}
